<?php
session_start();
if($_SESSION['username']=='' || $_SESSION['password']==''){
    header("Location: http://".$_SERVER['HTTP_HOST']."/admin_video/modules/tpl/auth/login.php");
}